The Dreamweaver JavaScript API > Selection functions > dom.isSelectionValid() |
![]() ![]() ![]() |
Availability
Dreamweaver 4.0
Description
Determines whether or not a selection is valid, or if it needs to be moved before an operation occurs.
Arguments
None.
Returns
true
if the current selection is in a valid piece of code. If the document has not been synchronized, returns false
(because the selection is not updated).
![]() ![]() ![]() |